package cn.bopomo.dealer.base.vo;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class ModuleList implements Serializable {

    /** identifier field */
    private Integer mid;

    /** persistent field */
    private String moduleName;

    /** persistent field */
    private String moduleAction;

    /** persistent field */
    private String moduleTag;

    /** persistent field */
    private int addUid;

    /** nullable persistent field */
    private Date addDate;

    /** nullable persistent field */
    private Integer modifyUid;

    /** nullable persistent field */
    private Date modifyDate;

    /** persistent field */
    private Set auGroups;

    /** persistent field */
    private Set authorizeLists;

    /** full constructor */
    public ModuleList(String moduleName, String moduleAction, String moduleTag, int addUid, Date addDate, Integer modifyUid, Date modifyDate, Set auGroups, Set authorizeLists) {
        this.moduleName = moduleName;
        this.moduleAction = moduleAction;
        this.moduleTag = moduleTag;
        this.addUid = addUid;
        this.addDate = addDate;
        this.modifyUid = modifyUid;
        this.modifyDate = modifyDate;
        this.auGroups = auGroups;
        this.authorizeLists = authorizeLists;
    }

    /** default constructor */
    public ModuleList() {
    }

    /** minimal constructor */
    public ModuleList(String moduleName, String moduleAction, String moduleTag, int addUid, Set auGroups, Set authorizeLists) {
        this.moduleName = moduleName;
        this.moduleAction = moduleAction;
        this.moduleTag = moduleTag;
        this.addUid = addUid;
        this.auGroups = auGroups;
        this.authorizeLists = authorizeLists;
    }

    /** 
     * 		       auto_increment
     * 		    
     */
    public Integer getMid() {
        return this.mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getModuleName() {
        return this.moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleAction() {
        return this.moduleAction;
    }

    public void setModuleAction(String moduleAction) {
        this.moduleAction = moduleAction;
    }

    public String getModuleTag() {
        return this.moduleTag;
    }

    public void setModuleTag(String moduleTag) {
        this.moduleTag = moduleTag;
    }

    public int getAddUid() {
        return this.addUid;
    }

    public void setAddUid(int addUid) {
        this.addUid = addUid;
    }

    public Date getAddDate() {
        return this.addDate;
    }

    public void setAddDate(Date addDate) {
        this.addDate = addDate;
    }

    public Integer getModifyUid() {
        return this.modifyUid;
    }

    public void setModifyUid(Integer modifyUid) {
        this.modifyUid = modifyUid;
    }

    public Date getModifyDate() {
        return this.modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Set getAuGroups() {
        return this.auGroups;
    }

    public void setAuGroups(Set auGroups) {
        this.auGroups = auGroups;
    }

    public Set getAuthorizeLists() {
        return this.authorizeLists;
    }

    public void setAuthorizeLists(Set authorizeLists) {
        this.authorizeLists = authorizeLists;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("mid", getMid())
            .toString();
    }

}
